<style>
    .extra-form .layui-input-inline {
        margin: 5px 0;
    }
    .extra-form input {
        width: 150px;
    }
</style>
<form class="layui-form extra-form" method="get">
    <div class="layui-row layui-col-space10">
        {volist name="extraForm" id="vo"}
        <div class=" layui-col-md2">
            <span class="">{$vo.title}</span>
            {switch name="vo.type"}
            {case value="text"}
            <div class="layui-input-inline">
                <input name="{$vo.name}" type="text" class="layui-input"
                       placeholder="{$vo.title}">
            </div>
            {/case}
            {case value="select"}
            <div class="layui-input-inline">
                <select name="{$vo.name}">
                    {volist name="vo.options" id="v"}
                    <option value="{$key}">{$v}</option>
                    {/volist}
                </select>
            </div>
            {/case}
            {/switch}
        </div>
        {/volist}
    </div>

</form>
